import config from "@/config";
import http from "@/utils/request";

export default {
	getList: {
		// 获取班级列表
		url: `${config.API_URL}/college/grade/page`,
		name: "班级列表",
		get: async function (params) {
			return await http.post(this.url, params);
		},
	},
	outlineList: {
		// 分页查询班级排课表
		url: `${config.API_URL}/college/grade-arrang/findByGradeId`,
		name: "班级排课表",
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
};
